import request from '@/utils/request'

export function permissionsByToken(token) {
  return request({
    url: '/sora/user/user/permissionsByToken/' + token,
    method: 'get',
  })
}

export function permissionsById(id) {
  return request({
    url: '/sora/user/user/permissionsById/' + id,
    method: 'get',
  })
}